package com.currency.mall.adapter;

import android.content.Context;
import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.currency.mall.R;

import java.util.List;

/**
 * Created by Administrator on 2018/12/5.
 */

public class SearchHistoryAdapter extends BaseQuickAdapter<String, BaseViewHolder> {


    public SearchHistoryAdapter(@Nullable List<String> data, Context context) {
        super(R.layout.item_search_history, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, String str) {
        helper.setText(R.id.tv_name,str);

    }

}
